<?php

return [

    'full_sys_name' => '中国公路建设行业协会科学技术奖申报管理系统',

    'customer_name' => '中国公路建设行业协会',

    'award_office_name' => '中国公路建设行业协会奖励办',

    'award_office_tel' => '010-64868878',

    'customer_name_en' => 'China Highway Construction Association',

    'short_sys_name' => '科学技术奖申报管理系统',

    'apply_sys_name' => '中国公路建设行业协会科学技术奖申报系统',

    'nominate_sys_name' => '中国公路建设行业协会科学技术奖推荐系统',

    'admin_sys_name' => '中国公路建设行业协会科学技术奖综合管理系统',

    'prof_categories' => [
        '路基',
        '路面',
        '桥涵',
        '隧道及地下工程',
        '其他',
    ],

    // 是否显示提名入口
    'show_nominate_entrance' => false,

    // 各入口是否可以 点击进入
    'entrance_enabled' => [
        'apply' => true,
        'nominate' => false,
        'review' => true,
    ],

    'role_names' => [
        'applicant' => '申报者',
        'nominator' => '推荐单位',
        'reviewer' => '评审专家',
        'committee' => '奖励委委员',
        'admin' => '管理员',
    ],

    'strings' => [
        'nomination' => '推荐',
        'nominator' => '推荐单位',
        'nominate_entrance_title' => '推荐入口',
        'nominate_entrance_desc' => '供<em>推荐单位</em>使用，对已申报的项目进行推荐确认',
        'choose_nominators' => '选择推荐单位',
        'th_nominators' => '推荐单位',
        'no_nominator_selected' => '未选择推荐单位',
        'reviewer' => '网评评审专家',
        'reviewer_entrance_title' => '网评专家评审入口',
        'meeting_reviewer' => '会评评审专家',
        'meeting_reviewer_entrance_title' => '会评专家评审入口'

    ],

    'rsa_pub_key' => 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5olyzDP71bY5Iq+5E5tRQP8qNqhSOl1F/hg8XOqOjoe6gspWbv0+ww8Yi/htI1s8j1p+X3x5ZsOd0AfbJ/oowjIZAqL/q6HrSqKpywzs/eu1Pp5/qmWp3xWmau5MaZNXSyWg0QhIWHdkKrebOtDc9IL34DVj2rEKO9ue96Zvd/wIDAQAB',

    'rsa_priv_key' => "MIICXwIBAAKBgQC5olyzDP71bY5Iq+5E5tRQP8qNqhSOl1F/hg8XOqOjoe6gspWbv0+ww8Yi/htI1s8j1p+X3x5ZsOd0AfbJ/oowjIZAqL/q6HrSqKpywzs/eu1Pp5/qmWp3xWmau5MaZNXSyWg0QhIWHdkKrebOtDc9IL34DVj2rEKO9ue96Zvd/wIDAQABAoGBAI+QHZjrqBIu1CcnsHHhArm9W+0LaDKOnBy/lNQmKX/XMDFfa4yz+/F8trNBSeCfIDtbNLnDeDltMtLo4e99x2hJUOxGUEc3fs/MDrYJzLA8RPnmBWiUN33GusatFw6I9xgowrRXe00OGv7B558XYPpmh246rYDn98WZLR6szIjhAkEA8zCWp5tCy9yH22DC/UfALlG1zEnP9Knkhdmpk/pNy2ouM+pidyq4TmEH/M8H11pwDRPpY8g5+TUA+pQKm6TXhQJBAMNpoy3ztz7VP+XNZ1IMqSLXQFbyEBbNIbuwxApqAnEbJWH6XoUaIqrW4eBl0X6xb2UoCw4zcFzcZC35RRBePLMCQQDRVUjJe4dS7kDvoOoXlZSjCmjgMcVVCI0SfptPKo2ehIbC34XkqBxAM5vpjNhmEo4TY8lpv+fPUUXHbHl5Irr1AkEAk7YPXhXix0ElCs1oM1JUq3xwKwjQ9ptay2iD16dobxzo9hXuSsiFugOyPBBa+lyfaqSJLtPdNKR3qXTKKuRBFwJBAL3v97P3VUTrhbE8p9Uys2Yv55bCOhIVtxmqTEz29pbGjqw/pbLdG4iFPOTbjsuj6XJ8VI9evrjiBFy9RJ+uQEE=",

    'awards' => [
        '1' => [
            'id' => 1,
            'name' => '科学技术进步奖',
            'desc' => '主要授予在交通建设与养护相关工程实践中研发产生，并经一年以上工程实践检验，具有先进性、科学性和适用性的科技成果。',
            'quota_per_applicant' => 10000,
            'form_view' => 'vars.forms.progress',
            'form_view_readonly' => 'vars.forms.progress-readonly',
            'print_view' => 'vars.print.progress-pdf',
            'doc_template_path' => '/docTemplates/progress-template.docx',
            'nomination_required' => false,
        ],
        '2' => [
            'id' => 2,
            'name' => '科技创新人物奖',
            'desc' => '主要授予在技术研究、重大技术问题解决、标准规范编制、科技成果应用与推广等科技工作中贡献突出的个人。',
            'quota_per_applicant' => 10000,
            'form_view' => 'vars.forms.talent',
            'form_view_readonly' => 'vars.forms.talent-readonly',
            'print_view' => 'vars.print.talent-pdf',
            'doc_template_path' => '/docTemplates/talent-template.docx',
            'nomination_required' => false,
            'num_of_nominator_selections' => 1,
            'nomination_rule_desc' => '科技创新人物奖采用推荐制，请选择推荐单位',
        ],
    ],

    'nominator_group_enabled' => false,

    'nominator_groups' => [
        '1' => [
            'id' => 1,
            'name' => '公路交通管理部门',
            'type' => 'org',
        ],
        '2' => [
            'id' => 2,
            'name' => '央企人力资源部门',
            'type' => 'org',
        ],
        '3' => [
            'id' => 3,
            'name' => '高校、科研院所或社会团体',
            'type' => 'org',
        ],
        '4' => [
            'id' => 4,
            'name' => '其他',
            'type' => 'org',
        ],
    ],

    'status_defs' => [
        'B1' => [  // next: B2
            'phase' => '形式审查',
            'status' => '填写申报书',
            'applicant_todo' => '完成申报书填写，并提交形式审查',
            'nominator_todo' => '',
        ],
        'B1.2' => [  // next: A3
            'phase' => '形式审查',
            'status' => '形式审查退回修改',
            'applicant_todo' => '修改申报书，重新提交',
            'nominator_todo' => '',
        ],
        'B2' => [  // next: B1.2, B3, C1
            'phase' => '形式审查',
            'status' => '等待形式审查',
            'applicant_todo' => '等待奖励办对申报书及附件内容进行形式审查',
            'nominator_todo' => '',
            'admin_todo' => '对申报书及附件内容进行形式审查'
        ],
        'B3' => [  // end
            'phase' => '形式审查',
            'status' => '形式审查不通过',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'C1' => [  // next: C2
            'phase' => '分配评审',
            'status' => '等待分配',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => '分配项目'
        ],
        'C2' => [  // next: A1.2, A4
            'phase' => '分配评审',
            'status' => '已分配评审，待提交',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'D1' => [  // next: D2, D3
            'phase' => '专家评审',
            'status' => '待评分',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'D2' => [
            'phase' => '专家评审',
            'status' => '已完成评分，待提交至会评',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'D3' => [
            'phase' => '专家评审',
            'status' => '落选',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'E1' => [
            'phase' => '会评',
            'status' => '待评审',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'E2' => [
            'phase' => '会评',
            'status' => '通过',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'E3' => [
            'phase' => '会评',
            'status' => '不通过',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'E4' => [
            'phase' => '会评',
            'status' => '评审完成',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'F1' => [
            'phase' => '设置授奖等级',
            'status' => '待设置授奖等级',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'F2' => [
            'phase' => '设置授奖等级',
            'status' => '已设置授奖等级，待提交',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'F3' => [
            'phase' => '设置授奖等级',
            'status' => '落选',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'G1' => [
            'phase' => '投票',
            'status' => '待投票',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'G2' => [
            'phase' => '投票',
            'status' => '待计算投票结果',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'G3' => [
            'phase' => '投票',
            'status' => '落选',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'H1' => [
            'phase' => '选择参加答辩项目',
            'status' => '待选择',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'I1' => [
            'phase' => '会评',
            'status' => '等待会评',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
        'J1' => [
            'phase' => '授奖',
            'status' => '获奖',
            'applicant_todo' => '',
            'nominator_todo' => '',
            'admin_todo' => ''
        ],
    ],

    'status_ids_per_phase' => [
        'A' => [],
        'B' => ['B1', 'B1.2', 'B2', 'B3'],
        'C' => ['C1', 'C2'],
        'D' => ['D1', 'D2', 'D3'],
        'E' => ['E1', 'E2', 'E3'],
        'F' => ['F1', 'F2', 'F3'],
        'G' => ['G1', 'G2', 'G3'],
        'H' => ['H1'],
        'I' => ['I1'],
        'J' => ['J1'],
    ],

    // 各阶段对应状态id
    'phase_and_status_relations' => [
        'formal-review' => ['B1', 'B1.2', 'B2', 'B3'],
        'first-expert-review' => ['D1', 'D2', 'D3', 'D4', 'D5', 'D9']
    ],

    //创建生成文档任务的状态
    'create_convert_job_status_id' => 'A4',

    //word转pdf服务器配置
    'pdf_server_domain' => 'http://47.94.46.246:8001',

    'pdf_server_key_develop' => 'ETAKC7y1vvWXMYoSREuFpQ5OTwfJ2Al2',

    'pdf_server_key_product' => 'EE5tF7NPpAoBxfkomZDIRI52DV85Hhrg',

    //极验验证
//    'captcha_id' => 'aba32b911e18c92369375f15588de670',
//    'private_key' => '285ed2dd85e4e59fa9e869d4f366a739',

    'captcha_id' => '123456',
    'private_key' => '12345678',

    'reviewer_prof_fields' => [
        '路基',
        '路面',
        '交通工程',
        '养护',
        '桥涵',
        '隧道及地下工程',
        '隧道',
        '铁道工程',
        '安全管理',
        '标准管理',
        '隧道工程',
        '桥梁',
        '桥隧工程',
    ]
];
